package org.bronycorps.mlptss.domain.controller;

import org.bronycorps.mlptss.domain.model.Player;

import com.badlogic.gdx.math.Vector2;

public abstract class AbstractPlayerController extends AbstractController {

	protected Player model;
	protected Vector2 position;

	public AbstractPlayerController(Player player) {
		this.model = player;
		this.position = player.getPosition();
	}

	public Player getModel() {
		return this.model;
	}

	public void setModel(Player model) {
		this.model = model;
	}

	@Override
	public void act(float delta) {
		this.model.reduceCooldowns(delta);
	}

}
